how to evaluate six trigonometric functions